package com.ai.web.vo;

import java.io.Serializable;

import lombok.Data;
/**
 * 文件上传
* @ClassName:  
* @Description: TODO 
* @author:  
* @date: 2014年3月24日
*
 */
@Data
public class UploadFileV implements Serializable{
    
    private static final int SUCCESS_CODE = 20011011;
    private static final int FAIL_CODE = 50011011;
    private static final int NOT_EXIST_CODE = 40411011;

    private int statusCode;
    //文件名称
    private String originalFilename;
    //文件路径
    private String fileRealPath;

    public void setSuccessCode() {
        this.statusCode = SUCCESS_CODE;
    }
    
    public void setFailCode() {
        this.statusCode = FAIL_CODE;
    }
    
    public void setNotExistCode() {
        this.statusCode = NOT_EXIST_CODE;
    }
    
}
